<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        h1{
            font-weight: normal;/*去掉加粗*/
            /*font-family:cursive*/
            font: 50px cursive,"Miocrosoft YaHei UI";
        }

        a{
            /*去掉下划线*/
            text-decoration:none;
        }
        div{
            width: 400px;
            height: 50px;
            text-align: center;
            /*text-decoration: overline;上划线,line-through删除线
            underline下划线  none没有线*/
            /*设置行高*/
            line-height: 50px;/*垂直方向居中*/
            /*设置文本阴影  颜色 x的偏移值 y的偏移值    浓度   */
            text-shadow: red -20px    20px       3px;
            /*字体大小*/
            font-size: 50px;
            /*字体加粗*/
            font-weight: bold;
            /*斜体*/
            font-style: italic;

        }
    </style>
</head>
<body>
<h1>文本和字体相关测试</h1>
<a href="">超链接</a>
<div>文本和字体</div>
</body>
</html>